﻿<UserControl x:Class="Corina.Lantern.Hub.MainPage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:localViewmodel="clr-namespace:Corina.Lantern.Hub.Viewmodels"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
             xmlns:uriMapper="clr-namespace:System.Windows.Navigation;assembly=System.Windows.Controls.Navigation"
             d:DesignHeight="480"
             d:DesignWidth="640"
             mc:Ignorable="d">
    <UserControl.DataContext>
        <localViewmodel:MainViewmodel />
    </UserControl.DataContext>

    <Grid x:Name="LayoutRoot">

        <ScrollViewer BorderThickness="0"
                      Padding="0"
                      ScrollViewer.HorizontalScrollBarVisibility="Auto"
                      ScrollViewer.VerticalScrollBarVisibility="Disabled">
            <ContentPresenter MinWidth="1000"
                              HorizontalAlignment="Stretch"
                              VerticalAlignment="Stretch"
                              Name="mainContentPresenter"
                              Content="{Binding ElementView}" />
        </ScrollViewer>

    </Grid>

</UserControl>